<template>
  <div class="detail">
    <van-goods-action>
      <van-goods-action-icon icon="chat-o" text="客服" dot />
      <van-goods-action-icon icon="cart-o" text="购物车" badge="5" />
      <van-goods-action-icon icon="shop-o" text="店铺" badge="12" />
      <van-goods-action-button type="warning" text="加入购物车" />
      <van-goods-action-button type="danger" text="立即购买" />
    </van-goods-action>
  </div>
</template>

<script>
import { Toast } from 'vant'

export default {
  name: 'Detail',
  onClickIcon () {
    Toast('点击图标')
  },
  onClickButton () {
    Toast('点击按钮')
  },
  created() {
    
  },
}
</script>

<style lang="scss" scoped>

</style>
